DIN#.INV

Description

Sets or gets the polarity of a digital input.

Value

Description
0 – Active High The digital input state is 1 when voltage is applied to the I/O pin
1 – Active Low The digital input state is 1 when voltage is removed from the I/O pin

Examples

Code

With 24VDC on DIN1:

--> DIN1.INV 0 //Active High
--> DIN1.STATE 1 --> DIN1.INV 1 //Active low --> DIN1.STATE 0

With 0V on DIN1:

--> DIN1.INV 0 //Active High
--> DIN1.STATE 0 --> DIN1.INV 1 //Active low --> DIN1.STATE 1

Context

See Digital Inputs and Outputs.

Versions

Action Version Notes
Implemented 02-00-00-000

 

General Information

Type Read/Write
Units N/A
Range 0 to 1
Default Value 0 (Active high)
Data Type Integer
See Also  

Stored in Non-Volatile Memory

Yes

Variants Supported

All variants are supported.

Industrial Ethernet Information

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

DIN1.INV

3590h

01h

Unsigned8

-

-

Read/Write

No

DIN2.INV

3591h

01h

Unsigned8

-

-

Read/Write

No

DIN3.INV

3592h

01h

Unsigned8

-

-

Read/Write

No

DIN4.INV

3593h

01h

Unsigned8

-

-

Read/Write

No

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

20050

1

20050 (0x4e52)

DIN1.INV

Unsigned8

Read/Write

Yes

20051

1

20051 (0x4e53)

DIN2.INV

Unsigned8

Read/Write

Yes

20052

1

20052 (0x4e54)

DIN3.INV

Unsigned8

Read/Write

Yes

20053

1

20053 (0x4e55)

DIN4.INV

Unsigned8

Read/Write

Yes

PROFINET

Parameter

PNU

Data Type

Access

Units

DIN1.INV

20050

Unsigned8

Read/Write

-

DIN2.INV

20051

Unsigned8

Read/Write

-

DIN3.INV

20052

Unsigned8

Read/Write

-

DIN4.INV

20053

Unsigned8

Read/Write

-